home *** CD-ROM | disk | FTP | other *** search
- class MyTask extends Thread implements Runnable {
- // $FF: renamed from: if ThreeDCanvas
- ThreeDCanvas field_0;
- // $FF: renamed from: a int
- int field_1;
-
- MyTask(ThreeDCanvas var1) {
- this.field_0 = var1;
- this.field_1 = 500;
- }
-
- public void run() {
- try {
- for(; this.field_0.thread != null; Thread.sleep((long)this.field_1)) {
- if (this.field_0.bGameStarted) {
- this.field_0.randomMotion();
- }
- }
- } catch (Exception var2) {
- System.out.println("Controller:" + ((Throwable)var2).getMessage());
- }
-
- }
- }
-